package com.wz.project.bas.warehouse.mapper;

import com.wz.project.bas.warehouse.domain.BasWarehouse;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

@Mapper
public interface WarehouseMapper {

  List<BasWarehouse> selectWarehouseList(@Param("basWarehouse") BasWarehouse basWarehouse);

  int deleteWarehouseByIds(String[] ids);

  BasWarehouse selectWarehouseByWarehouseId(@Param("warehouse_id")String warehouse_id);

  int saveAndUpdate(@Param("basWarehouse")BasWarehouse basWarehouse);

  int insertWarehouse(@Param("basWarehouse")BasWarehouse basWarehouse);
}
